﻿<%@ Page Language="C#" MasterPageFile="~/Themes/Standard/Site.Master" AutoEventWireup="true"
    CodeBehind="Profile.aspx.cs" Inherits="UCenter.Web.Views.Account.Profile" Title="无标题页" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link rel="stylesheet" href="/Themes/Standard/lavalamp_test.css" type="text/css"
        media="screen">
    <link rel="stylesheet" href="/Themes/Standard/slidingmenu.css" type="text/css" media="screen">

    <script type="text/javascript" src="/Content/jquery.json-1.2.js"></script>

    <script type="text/javascript" src="/Content/ajaxfileupload.js"></script>

    <script type="text/javascript" src="/Content/jquery.easing.min.js"></script>

    <script type="text/javascript" src="/Content/jquery.lavalamp.min.js"></script>

    <script type="text/javascript" src="/Content/sliding_effect.js"></script>

    <script type="text/javascript">
    $(function() {
        $("#2").lavaLamp({
            fx: "backout", 
            speed: 700,
            click: function(event, menuItem) {
                
            }
        });
    });
    </script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        <img src='/Themes/Standard/Images/ico_grsz.gif' align="middle" />基本信息设置</h2>
    <%if (ViewData["User"] != null) {
          var user = ViewData["User"] as UCenter.BusinessContract.AccountContract; %>
    <table width="100%" cellpadding="8" cellspacing="8">
        <tr>
            <td colspan="2">
                <ul class="lavaLampNoImage" id="2">
                    <li><a href='<%=Html.AttributeEncode(Url.Action("Profile","Account"))%>'>个人资料</a></li>
                    <li><a href='<%=Html.AttributeEncode(Url.Action("ChangePassword","Account"))%>'>修改密码</a></li>
                    <li><a href='<%=Html.AttributeEncode(Url.Action("ResetPassword","Account"))%>'>找回密码</a></li>
                    <li><a href="<%=Html.AttributeEncode(Url.Action("Logo","Account"))%>">修改头像</a></li>
                    <li><a href="<%=Html.AttributeEncode(Url.Action("Logo","Account"))%>">工作情况</a></li>
                    <li><a href="<%=Html.AttributeEncode(Url.Action("Logo","Account"))%>">修改头像</a></li>
                    <li><a href="<%=Html.AttributeEncode(Url.Action("Logo","Account"))%>">工作情况</a></li>
                    <li><a href="<%=Html.AttributeEncode(Url.Action("Logo","Account"))%>">工作情况</a></li>
                </ul>
            </td>
        </tr>
        <td valign="top" style="width: 210px;">
            <div id="navigation-block">
                <ul id="sliding-navigation">
                    <li class="sliding-element">
                        <h3>
                            个人资料</h3>
                    </li>
                    <li class="sliding-element"><a href='<%=Html.AttributeEncode(Url.Action("Profile","Account"))%>'>
                        基本信息</a></li>
                    <li class="sliding-element"><a href='<%=Html.AttributeEncode(Url.Action("Profile","Account"))%>'>
                        个人情况</a></li>
                    <li class="sliding-element"><a href='<%=Html.AttributeEncode(Url.Action("Profile","Account"))%>'>
                        联系方式</a></li>
                    <li class="sliding-element"><a href='<%=Html.AttributeEncode(Url.Action("Profile","Account"))%>'>
                        教育情况</a></li>
                    <li class="sliding-element"><a href='<%=Html.AttributeEncode(Url.Action("Profile","Account"))%>'>
                        工作情况</a></li>
                </ul>
            </div>
        </td>
        <td style="padding: 15px;">
            <form id='setForm' method="post" name="setForm" action="<%=Html.AttributeEncode(Url.Action("Profile","Account"))%>">
            <table cellpadding="8" cellspacing="8" width="100%">
                <tr>
                    <td width="60px">
                        姓名：
                    </td>
                    <td>
                        <%=user.TrueName%>
                    </td>
                </tr>
                <tr>
                    <td>
                        昵称：
                    </td>
                    <td>
                        <input value='<%=user.NickName%>' id='NickName' name="NickName" />
                    </td>
                </tr>
                <tr>
                    <td>
                        生日：
                    </td>
                    <td>
                        <%=Html.DropDownList("", "Year", new{@style="width:60px"})%>&nbsp;年&nbsp;<%=Html.DropDownList("","Month")%>&nbsp;月&nbsp;<%=Html.DropDownList("","Day")%>&nbsp;日
                    </td>
                </tr>
                <tr>
                    <td>
                        居住地：
                    </td>
                    <td>
                        <input value='<%=user.NickName%>' id='Hometown' name="Hometown" />
                    </td>
                </tr>
                <tr>
                    <td>
                        QQ：
                    </td>
                    <td>
                        <input value='<%=user.QQ%>' id='QQ' name="QQ" />
                    </td>
                </tr>
                <tr>
                    <td>
                        MSN：
                    </td>
                    <td>
                        <input value='<%=user.MSN%>' id='MSN' name="MSN" />
                    </td>
                </tr>
                <tr>
                    <td>
                        手机号码：
                    </td>
                    <td>
                        <input value='<%=user.PhoneNumber%>' id='PhoneNumber' name="PhoneNumber" />
                    </td>
                </tr>
                <tr>
                    <td>
                        个人主页：
                    </td>
                    <td>
                        <input value='<%=user.Website%>' id='Website' name="Website" />
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <%=Html.SubmitButton("Confirm","确定")%>&nbsp;&nbsp;<%=Html.SubmitButton("Cacel","取消")%>
                    </td>
                </tr>
            </table>
            </form>
        </td>
        </tr></table>
    <%}%>
</asp:Content>
